//
//  GoldPriceTrendModel.m
//  HSJCIOS
//
//  Created by zhoucheng on 16/8/16.
//  Copyright © 2016年 zc. All rights reserved.
//

#import "GoldPriceTrendModel.h"

@implementation GoldPriceTrendModel

//-(NSString *)x
//{
//    // 格式化时间
//    NSDateFormatter* formatter = [[NSDateFormatter alloc] init];
//    formatter.timeZone = [NSTimeZone timeZoneWithName:@"shenzhen"];
//    [formatter setDateStyle:NSDateFormatterMediumStyle];
//    [formatter setTimeStyle:NSDateFormatterShortStyle];
//    [formatter setDateFormat:@"yyyy-MM-dd HH:mm"];
//    
//    // 毫秒值转化为秒
//    NSDate* date = [NSDate dateWithTimeIntervalSince1970:[_x doubleValue]/ 1000.0];
//    NSString* dateString = [formatter stringFromDate:date];
//    
//    return dateString;
//}

@end
